package com.smart_environmental_protection.service.ServiceImp;

import com.smart_environmental_protection.dao.PointDao;
import com.smart_environmental_protection.pojo.Point;
import com.smart_environmental_protection.service.PointService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PointServiceImp implements PointService {
    @Resource
    private PointDao pointDao;

    @Override
    public List<Point> POINT_LIST() {
        return pointDao.POINT_LIST();
    }

    @Override
    public Point Points(Integer id) {
        return pointDao.Points(id);
    }
}
